﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;

namespace Quản_Lý_Thư_Viện
{
    class CTPMcontrol
    {
        private CTPMdataaccess ctpmdata = new CTPMdataaccess();
        public void insertctpm(CTPMinfo info)
        {
            ctpmdata.insertctpm(info);
        }
        public void deletectpm(CTPMinfo info)
        {
            ctpmdata.deletectpm(info);
        }
        public DataTable layctpms(CTPMinfo info)
        {
            return ctpmdata.layctpms(info);
        }
        public DataTable sachdamuon()
        {
            return ctpmdata.sachdamuon();
        }
        public DataTable sosachdgdamuon()
        {
            return ctpmdata.sosachdgdamuon();
        }
    }
}
